﻿Imports System.Runtime.InteropServices

Public Module SysHelper
    <DllImport("ShellChromeAPI.dll")>
    Private Sub Shell_TurnScreenOn(value As Boolean)
    End Sub

    ''' <summary>
    ''' 参数为False时锁屏
    ''' </summary>
    ''' <param name="isOn"></param>
    Public Sub TurnScreen(isOn As Boolean)
        Shell_TurnScreenOn(isOn)
    End Sub
End Module
